package ${packageName}.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import ${packageName}.entity.${upperDataKey};
import ${packageName}.pojo.dto.${upperDataKey}AddRequest;
import ${packageName}.pojo.dto.${upperDataKey}EditRequest;
import ${packageName}.pojo.dto.${upperDataKey}QueryRequest;
import ${packageName}.pojo.vo.${upperDataKey}VO;

/**
 * ${dataName}服务
 */
public interface ${upperDataKey}Service extends IService<${upperDataKey}> {

    /**
    * 新增${dataName}
    * @param ${dataKey}AddRequest
    */
    void add(${upperDataKey}AddRequest ${dataKey}AddRequest);

    /**
    * 编辑${dataName}
    * @param ${dataKey}EditRequest
    */
    void edit(${upperDataKey}EditRequest ${dataKey}EditRequest);

    /**
    * 分页获取${dataName}列表
    * @param ${dataKey}QueryRequest
    */
    IPage<${upperDataKey}VO> selPage(${upperDataKey}QueryRequest ${dataKey}QueryRequest);

    /**
    * 删除${dataName}
    * @param id
    */
    void delById(String id);
}
